package com.lwl.service.sds;


import com.github.pagehelper.PageInfo;
import com.lwl.entity.MyPage;
import com.lwl.entity.mht.TQuestionMht;
import com.lwl.entity.sds.TSdsQuestion;
import com.lwl.entity.sds.TSdsRecordDetail;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * (TSdsQuestion)表服务接口
 *
 * @author Lei
 * @since 2022-11-09 21:22:59
 */
public interface TSdsQuestionService {


    PageInfo queryAll(MyPage myPage, TQuestionMht tQuestionMht);

    boolean insertQuestion(TSdsQuestion tSdsQuestion);

    boolean dealFile(MultipartFile file);

    void save(List<TSdsQuestion> list);

    List<Integer> deleteMoreQuestion(Integer[] dataId);

    List<TSdsRecordDetail> queryTMhtRecordDetail(Integer id);

    boolean deleteQuestion(Integer id);

    PageInfo getAll(MyPage myPage);
}
